package edu.hunau.recommend.service;

import edu.hunau.recommend.pojo.User;

/**
 * @author name
 * @creater 2022-09-08-20:07
 */
public interface UserService {
    public User findById(Integer id);

    /**
     * 用户注册
     * @param user
     * @return
     */
    public User register(User user);

    /**
     * 登入
     * @param telphone
     * @param password
     * @return
     */
    public User login(String telphone, String password);

    public int countAllUser();
}
